<?php
/**
 * OrganisationSubscriptionFixture
 *
 */
class OrganisationSubscriptionFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'),
		'organisation_id' => array('type' => 'integer', 'null' => true, 'default' => NULL),
		'subscription_type_id' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 3, 'key' => 'index'),
		'subscription_start_dt' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
		'subscription_end_dt' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
		'last_renewal' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
		'renewal_count' => array('type' => 'integer', 'null' => true, 'default' => '0', 'length' => 5),
		'modified_dt' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'subscription_type_id' => array('column' => 'subscription_type_id', 'unique' => 0)),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'organisation_id' => 1,
			'subscription_type_id' => 1,
			'subscription_start_dt' => '2012-03-14 12:36:44',
			'subscription_end_dt' => '2012-03-14 12:36:44',
			'last_renewal' => '2012-03-14 12:36:44',
			'renewal_count' => 1,
			'modified_dt' => '2012-03-14 12:36:44'
		),
	);
}
